<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_ids" data-rule="required" data-source="user/user/index" data-field="nickname" data-multiple="true" class="form-control selectpage" name="row[user_ids]" type="text" value="{$row.user_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[date]" type="text" value="{$row.date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goout_type_name')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-goout_type_name" data-rule="required" class="form-control selectpicker" name="row[goout_type_name]">
                {foreach name="gooutTypeNameList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.goout_type_name"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stay_type_name')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-stay_type_name" data-rule="required" class="form-control selectpicker" name="row[stay_type_name]">
                {foreach name="stayTypeNameList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.stay_type_name"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Continuousnum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-continuousnum" data-rule="required" class="form-control" name="row[continuousnum]" type="number" value="{$row.continuousnum|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gooutaccumulatenum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goOutAccumulatenum" data-rule="required" class="form-control" name="row[goOutAccumulatenum]" type="number" value="{$row.goOutAccumulatenum|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Visitnum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-visitnum" data-rule="required" class="form-control" name="row[visitnum]" type="number" value="{$row.visitnum|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kaoqinnum')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kaoqinnum" data-rule="required" class="form-control" name="row[kaoqinnum]" type="number" value="{$row.kaoqinnum|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
